package com.mlnx.device.enums;

import com.mlnx.common.enums.BaseCodeEnum;

public enum ECGDeviceRunMode implements BaseCodeEnum {
    DIAGNOSIS_MODE(0, 500, "诊断监护"),
    STANDARD_MODE(1, 500, "标准监护"),
    SPORT_MODE(2, 500, "运动监护模式");

    private int code;
    private int sampling;
    private String description;

    ECGDeviceRunMode(int code, int sampling, String description) {
        this.code = code;
        this.sampling = sampling;
        this.description = description;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getSampling() {
        return sampling;
    }

    public void setSampling(int sampling) {
        this.sampling = sampling;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String getValue() {
        return toString();
    }

}
